<?php
class RegGlobal
{
	private static $_G = array();

	private function __construct(){}

	public static function set($n, $v)
	{
		return self::$_G[$n] = $v;
	}

	public static function get($n)
	{
		return isset(self::$_G[$n]) ? self::$_G[$n] : null;
	}
}